# encoding: UTF-8
"""

@author = 李林名
@email = lishuai1199@qq.com
@create_time = 2022/11/24 22:44

"""
# encoding: UTF-8
"""

@author = 李林名
@email = lishuai1199@qq.com
@create_time = 2022/11/9 20:39

"""

from selenium import webdriver
from time import sleep

# 创建 WebDriver 对象，指明使用chrome浏览器驱动,()表示驱动具体路径
wd=webdriver.Chrome(r'D:\IDE\Selenium\chormeDriver\107.0.5304.62\chromedriver.exe')
# 创建exe文件时配置
# wd = webdriver.Chrome(executable_path='chromedriver.exe')

# 调用WebDriver 对象的get方法 可以让浏览器打开指定网址
wd.get('https://www.baidu.com')

sleep(1)



